package com.jxm.quartzdemo.mapper;

import com.jxm.quartzdemo.dto.JobAndTriggerDto;
import com.jxm.quartzdemo.pojo.JobDetail;
import com.jxm.quartzdemo.pojo.JobDetailKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface JobDetailMapper {

    int deleteByPrimaryKey(JobDetailKey key);

    int insert(JobDetail record);

    int insertSelective(JobDetail record);

    JobDetail selectByPrimaryKey(JobDetailKey key);

    int updateByPrimaryKeySelective(JobDetail record);

    int updateByPrimaryKeyWithBLOBs(JobDetail record);

    int updateByPrimaryKey(JobDetail record);

    List<JobAndTriggerDto> getJobAndTriggerDetails();
}